Skip to content

Fix: Typo

Fix: Typo #122

Workflow file for this run

name: Main Workflow
on:
push:
branches:
- master
jobs:
run_workflows:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: master
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v38
- name: List all changed files
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo "$file was changed"
done
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: yarn
- name: Test
run: yarn test
- name: Build
run: yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./public
- name: Save change on firebase
env:
FIREBASE_DB_PATH: ${{ secrets.FIREBASE_DB_PATH }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
CLIENT_EMAIL: ${{ secrets.CLIENT_EMAIL }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
AUTH_URI: ${{ secrets.AUTH_URI }}
TOKEN_URI: ${{ secrets.TOKEN_URI }}
AUTH_PROVIDER_X509_CERT_URL: ${{ secrets.AUTH_PROVIDER_X509_CERT_URL }}
CLIENT_X509_CERT_URL: ${{ secrets.CLIENT_X509_CERT_URL }}
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
node .github/scripts/firebase.js