Merge pull request #170 from FilecoinFoundationWeb/cms/blog/the-starl… #91
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: "Publish to Distributed Press" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile website into HTML | |
run: npm install && npm run build | |
- name: Publish to Distributed Press | |
uses: hyphacoop/[email protected] | |
with: | |
publish_dir: "./public" | |
dp_url: https://api.distributed.press | |
refresh_token: ${{ secrets.DISTPRESS_TOKEN }} | |
site_url: distributed-press.ffdweb.org | |
deploy_http: true | |
deploy_hyper: true | |
deploy_ipfs: true |