utxo-prague/.github/workflows/spec-deploy.yml

26 řádky
568 B
YAML
Surový Normální zobrazení Historie

2022-01-01 06:09:06 +01:00
name: GitHub Pages
on:
push:
branches:
- master # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
2022-01-01 06:14:25 +01:00
- name: Add custom domain
2022-01-01 06:15:07 +01:00
run: "touch CNAME && echo \"spec.utxo.cz\" >> CNAME"
2022-01-01 06:09:06 +01:00
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./