Skip to content

Commit 2bf20c7

Browse files
committed
chore: auto trigger weekly deployments on fleek
1 parent 45e25d4 commit 2bf20c7

File tree

3 files changed

+24
-11
lines changed

3 files changed

+24
-11
lines changed

.fleek.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"build": {
3+
"image": "fleek/puppeteer:cypress",
4+
"command": "npm run build:fleek",
5+
"publicDir": "dist"
6+
}
7+
}

.github/workflows/main.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/weekly-build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Weekly Build (events and mailchimp subscriptions updates)
2+
on:
3+
schedule:
4+
- cron: '0 9 * * 1' # every monday at 9am
5+
jobs:
6+
build:
7+
name: Build
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout repo
11+
uses: actions/checkout@v2
12+
- name: Trigger Fleek Deploy
13+
uses: fleekhq/action-deploy@v1
14+
with:
15+
apiKey: ${{ secrets.FLEEK_API_KEY }}
16+
- name: Done
17+
run: echo "Check https://proto.school"

0 commit comments

Comments
 (0)