feat: use environment variable for webmentions #52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Zola on GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: Publish site | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout main | |
| uses: actions/checkout@v4 | |
| - name: Fetch webmentions | |
| run: bash fetch_webmentions.sh | |
| env: | |
| WEBMENTIONSKEY: ${{ secrets.WEBMENTIONSKEY }} | |
| - name: Build and deploy | |
| uses: shalzz/[email protected] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |