We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47be8ae commit 06eae59Copy full SHA for 06eae59
.github/workflows/deploy.yml
@@ -0,0 +1,23 @@
1
+name: Deploy
2
+
3
+on:
4
+ push: {branches: [main]}
5
+ schedule: [{cron: "15 10 * * *"}]
6
+ workflow_dispatch: {}
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-node@v4
14
+ with:
15
+ node-version: 20
16
+ cache: yarn
17
+ - run: yarn --frozen-lockfile
18
+ - run: yarn build
19
+ - name: Deploy to Observable Cloud
20
+ run: yarn deploy -- --message "$(git log -1 --pretty=%s)"
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
+ OBSERVABLE_TOKEN: ${{ secrets.OBSERVABLE_TOKEN }}
0 commit comments