Skip to content

build: fix aio ccl style #30

build: fix aio ccl style

build: fix aio ccl style #30

Workflow file for this run

name: pages
on:
push:
branches: ['main']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build
run: |
chmod +x ./build.sh
./build.sh
- name: Archive Artifact
shell: sh
run: |
tar \
--dereference --hard-dereference \
--directory "./public" \
-cvf "$RUNNER_TEMP/artifact.tar" \
.
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: github-pages
path: ${{ runner.temp }}/artifact.tar
retention-days: 1
if-no-files-found: error
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2