Skip to content

Commit

Permalink
regen for 2120c62
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanGau committed Jan 6, 2024
1 parent ddd7111 commit 702f311
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy

on:
push:
branches: release
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./static
- name: Trigger workflow in other repo
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const result = await github.rest.actions.createWorkflowDispatch({
owner: 'g0v',
repo: 'summit.g0v.tw',
workflow_id: 'updateSubmodules.yml',
ref: 'gh-pages'
})
console.log(result)

0 comments on commit 702f311

Please sign in to comment.