Skip to content

Merge pull request #30 from docknetwork/feat/holiday-warning #138

Merge pull request #30 from docknetwork/feat/holiday-warning

Merge pull request #30 from docknetwork/feat/holiday-warning #138

Workflow file for this run

name: Master
on:
push:
branches:
- master
jobs:
# publish to gh-pages (& IPFS when a release is detected)
www:
strategy:
matrix:
step: ['build:www']
name: ${{ matrix.step }}
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: ${{ matrix.step }}
env:
GH_PAGES_SRC: packages/apps/build
run: |
yarn install --immutable | grep -v 'YN0013'
yarn ${{ matrix.step }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.STAGING_DEPLOY_KEY }}
external_repository: docknetwork/polkadot-fe-staging
publish_dir: ./packages/apps/build
cname: fe-staging.dock.io
# dummy, GH actions fails outright when all steps are skipped (like it can be above)
dummy:
runs-on: ubuntu-latest
steps:
- name: dummy
run: |
echo "Dummy skip step"