ci: fix build x6

This commit is contained in:
gechandesu 2025-03-29 20:20:19 +03:00 committed by GitHub
parent e2fa558ad9
commit 0a231f6ba2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,8 +12,6 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
path: licenseid
- name: Setup V - name: Setup V
uses: vlang/setup-v@v1 uses: vlang/setup-v@v1
@ -22,28 +20,29 @@ jobs:
- name: Build docs - name: Build docs
run: | run: |
pushd licenseid
ls -alFh
v doc -f html -m . v doc -f html -m .
pushd _docs pushd _docs
ln -vs licenseid.html index.html ln -vs licenseid.html index.html
ls -alFh ls -alFh
popd popd
popd
- name: Upload static files as artifact - name: Upload static files as artifact
id: deployment id: deployment
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3
with: with:
path: licenseid/_docs/ path: _docs/
deploy: deploy:
needs: build
environment: environment:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@v4
permissions:
contents: read
pages: write