Skip to content

Commit

Permalink
trying to get git to work
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Aug 5, 2024
1 parent b175c4f commit 89747df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-xbarappcom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Deploy

on:
schedule:
- cron: "0 0 */2 * *" # every 2 days
- cron: "0 0 */2 * *" # every 2 hours

jobs:
build-and-deploy:
Expand All @@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all tags and branches

- name: Set up Go
uses: actions/setup-go@v3
Expand All @@ -19,17 +21,15 @@ jobs:

- name: Run sitegen
working-directory: tools/sitegen
env:
XBAR_GITHUB_ACCESS_TOKEN: ${{ secrets.XBAR_GITHUB_ACCESS_TOKEN }}
run: ./run.sh

- name: Auth with Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCP_CREDENTIALS }}

- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v2"
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
with:
version: ">= 363.0.0"

Expand Down
1 change: 0 additions & 1 deletion tools/sitegen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.22
replace github.com/matryer/xbar/pkg/metadata => ../../pkg/metadata

require (
github.com/alecthomas/repr v0.4.0
github.com/gomarkdown/markdown v0.0.0-20210208175418-bda154fe17d8
github.com/google/go-github v17.0.0+incompatible
github.com/matryer/is v1.4.0
Expand Down
2 changes: 0 additions & 2 deletions tools/sitegen/go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
Expand Down

0 comments on commit 89747df

Please sign in to comment.