Skip to content

Commit

Permalink
ci: Fix workflows for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Mar 22, 2024
1 parent 2f59c1f commit b2934db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: 'Deployment document'

on:
workflow_call:
workflow_dispatch:

jobs:
deploy-doc:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,7 @@ jobs:
name: Release ${{ github.ref_name }}
tag: ${{ github.ref }}
prerelease: false
- name: 'Update document'
uses: './.github/workflows/deploy-doc'
deploy-doc:
needs: [build]
uses: './.github/workflows/deploy-doc.yml'
secrets: inherit

0 comments on commit b2934db

Please sign in to comment.