We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 733ce9b commit 3d37e69Copy full SHA for 3d37e69
.github/workflows/homepage.yml
@@ -1,15 +1,23 @@
1
name: Deploy Homepage
2
on:
3
push:
4
+ branches:
5
+ - docs/homepage # TODO change to main later
6
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
+ defaults:
11
+ run:
12
+ working-directory: ./homepage
13
+ env:
14
+ NETLIFY_SITE_ID: ${{ secrets.NETLIFY_POD_OS_HOMEPAGE_SITE_ID }}
15
+ NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
16
steps:
17
- uses: actions/checkout@v4
18
- name: Install Nix
19
uses: DeterminateSystems/nix-installer-action@main
20
- name: Build homepage
- run: |
- cd homepage
- nix-shell --run "make build"
21
+ run: nix-shell --run "make build"
22
+ - name: Deploy PodOS Browser
23
+ run: npx netlify-cli deploy --dir=site --prod
0 commit comments