Skip to content

Commit

Permalink
update publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
pop committed Mar 20, 2024
1 parent 237eb46 commit e0fb29d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v1

Expand All @@ -35,8 +33,6 @@ jobs:
- run: pelican ./content -o ./output -s ./pelicanconf.py --fatal errors

- name: Deploy
uses: peaceiris/[email protected]
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./output
uses: peaceiris/[email protected]
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output

0 comments on commit e0fb29d

Please sign in to comment.