-
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
1 parent
b988bdd
commit f2474eb
Showing
2 changed files
with
36 additions
and
36 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,6 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
# version: 2 | ||
# updates: | ||
# - package-ecosystem: "npm" | ||
# directory: "/" # Location of package manifests | ||
# schedule: | ||
# interval: "weekly" |
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,34 +1,34 @@ | ||
name: Build it up! | ||
on: | ||
# schedule: | ||
# - cron: '0 0 * * *' | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build-and-deploy: | ||
concurrency: ci-${{ github.ref }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
# name: Build it up! | ||
# on: | ||
# # schedule: | ||
# # - cron: '0 0 * * *' | ||
# push: | ||
# branches: | ||
# - main | ||
# jobs: | ||
# build-and-deploy: | ||
# concurrency: ci-${{ github.ref }} | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout 🛎️ | ||
# uses: actions/checkout@v3 | ||
|
||
- name: Setup Git | ||
run: | | ||
git config user.name "danelliottpalmer" | ||
git config user.email "danelliottpalmer@gmail.com" | ||
# - name: Setup Git | ||
# run: | | ||
# git config user.name "danelliottpalmer" | ||
# git config user.email "danelliottpalmer@gmail.com" | ||
|
||
- name: Install and Build | ||
run: | | ||
npm ci | ||
npm run build | ||
# - name: Install and Build | ||
# run: | | ||
# npm ci | ||
# npm run build | ||
|
||
- name: Create Index.html | ||
run: | | ||
node lib/index.js | ||
# - name: Create Index.html | ||
# run: | | ||
# node lib/index.js | ||
|
||
- name: Commit Files | ||
run: | | ||
git add index.html games.ics | ||
git commit -m "feat(files): update static index and games calendar" | ||
git push origin main | ||
# - name: Commit Files | ||
# run: | | ||
# git add index.html games.ics | ||
# git commit -m "feat(files): update static index and games calendar" | ||
# git push origin main |