diff --git a/.github/workflows/deploy-xbarappcom.yaml b/.github/workflows/deploy-xbarappcom.yaml index 4b8677633..6525c007f 100644 --- a/.github/workflows/deploy-xbarappcom.yaml +++ b/.github/workflows/deploy-xbarappcom.yaml @@ -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: @@ -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 @@ -19,8 +21,6 @@ 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 @@ -28,8 +28,8 @@ jobs: 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" diff --git a/tools/sitegen/go.mod b/tools/sitegen/go.mod index d3757cba1..d4d84d8d8 100644 --- a/tools/sitegen/go.mod +++ b/tools/sitegen/go.mod @@ -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 diff --git a/tools/sitegen/go.sum b/tools/sitegen/go.sum index cbeb6b06f..8ad5f4ea4 100644 --- a/tools/sitegen/go.sum +++ b/tools/sitegen/go.sum @@ -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=