-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
232 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
# This file was auto-generated by the Firebase CLI | ||
# https://github.com/firebase/firebase-tools | ||
# # This file was auto-generated by the Firebase CLI | ||
# # https://github.com/firebase/firebase-tools | ||
|
||
name: Deploy to Firebase Hosting on merge | ||
'on': | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build_and_deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- run: npm ci && npm run build | ||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TASK_CHECK_6DB15 }}' | ||
channelId: live | ||
projectId: task-check-6db15 | ||
env: | ||
FIREBASE_CLI_PREVIEWS: hostingchannels | ||
# name: Deploy to Firebase Hosting on merge | ||
# 'on': | ||
# push: | ||
# branches: | ||
# - main | ||
# jobs: | ||
# build_and_deploy: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/setup-node@v2 | ||
# with: | ||
# node-version: '14' | ||
# - run: npm ci && npm run build | ||
# - uses: FirebaseExtended/action-hosting-deploy@v0 | ||
# with: | ||
# repoToken: '${{ secrets.GITHUB_TOKEN }}' | ||
# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TASK_CHECK_6DB15 }}' | ||
# channelId: live | ||
# projectId: task-check-6db15 | ||
# env: | ||
# FIREBASE_CLI_PREVIEWS: hostingchannels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,35 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy static content to Pages | ||
name: Deploy | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
branches: [ main ] | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pages: write | ||
id-token: write | ||
steps: | ||
- name: Checkout | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- name: Upload artifact | ||
- name: setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
- name: install dependencies | ||
run: npm ci | ||
- name: build app | ||
run: npm run build && npm run gh-pages:404 | ||
env: | ||
PUBLIC_URL: /routinize | ||
- name: upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: '/src' | ||
- name: Deploy to GitHub Pages | ||
path: ./build | ||
- name: deploy to github pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 | ||
uses: actions/deploy-pages@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.