mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 08:46:49 +00:00
🛠 Update deploy action
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -17,11 +17,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14]
|
node-version: [14]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
@@ -42,7 +40,7 @@ jobs:
|
|||||||
echo einundzwanzig.space > dist/CNAME
|
echo einundzwanzig.space > dist/CNAME
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: success() && github.ref == 'refs/heads/master'
|
if: success() && github.ref == 'refs/heads/master'
|
||||||
uses: maxheld83/ghpages@v0.2.1
|
uses: maxheld83/ghpages@v0.3.0
|
||||||
env:
|
env:
|
||||||
BUILD_DIR: dist/
|
BUILD_DIR: dist/
|
||||||
GH_PAT: ${{ secrets.GH_PAT }}
|
GH_PAT: ${{ secrets.GH_PAT }}
|
||||||
|
|||||||
Reference in New Issue
Block a user