Merge pull request #34 from hyphacoop/add-links-to-footer #8
This file contains 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: "Deploy to Distributed press" | |
on: | |
push: | |
branches: | |
- master | |
# Allow manually triggering | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: '0.80.0' | |
extended: true | |
- name: Build | |
run: hugo | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Publish to Distributed Press | |
uses: hyphacoop/[email protected] | |
with: | |
publish_dir: ./public | |
dp_url: https://api.distributed.press | |
refresh_token: ${{ secrets.DISTRIBUTED_PRESS_TOKEN }} | |
site_url: one.compost.digital |