Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
faaydemir committed Aug 17, 2023
1 parent 513a3d4 commit feb7326
Show file tree
Hide file tree
Showing 5 changed files with 232 additions and 58 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/firebase-deploy-on-main.yml
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
48 changes: 21 additions & 27 deletions .github/workflows/githubpage-deploy-on-main.yml
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# task-tracker
# routinize
a simple app to track your recurring tasks. (daily, weekly etc)
https://task-check-6db15.web.app/

Expand Down
182 changes: 180 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit feb7326

Please sign in to comment.