set CI for github action

This commit is contained in:
shamsmosowi
2022-01-04 13:42:00 +07:00
parent afd99418cc
commit ed18442ded

View File

@@ -9,6 +9,7 @@ env:
REACT_APP_FIREBASE_PROJECT_ID: tryrowy
REACT_APP_FIREBASE_PROJECT_WEB_API_KEY:
"${{ secrets.FIREBASE_WEB_API_KEY_TRYROWY }}"
CI: ""
jobs:
build_and_preview:
runs-on: ubuntu-latest
@@ -20,6 +21,8 @@ jobs:
- uses: borales/actions-yarn@v2.3.0
with:
cmd: build # will run `yarn build` command
env:
CI: ""
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"