Create main.yml

MarseyLivesMatter-GHPages
MarseyLivesMatter 2022-05-22 02:32:27 +08:00 committed by GitHub
parent fae31bd551
commit db490cdae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

19
.github/workflows/main.yml vendored 100644
View File

@ -0,0 +1,19 @@
# .github/workflows/main.yml
name: Github Pages Publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: sterlingwes/gh-pages-deploy-action@v1.1
with:
access-token: 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
source-directory: src
build-command: yarn parcel build src/index.html