mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
add readme, schedule workflow, tag stuff
This commit is contained in:
parent
1456dab6c7
commit
2c2305220d
2 changed files with 22 additions and 2 deletions
8
.github/workflows/crawl.yaml
vendored
8
.github/workflows/crawl.yaml
vendored
|
|
@ -4,6 +4,8 @@ on:
|
|||
workflow_dispatch:
|
||||
push:
|
||||
branches: ['main']
|
||||
schedule:
|
||||
- cron: '0 6 * * *' # Daily at 6 AM
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
@ -20,12 +22,14 @@ jobs:
|
|||
with:
|
||||
install_components: alpha,beta
|
||||
|
||||
- run: ./crawl.sh
|
||||
- run: |
|
||||
rm -r gcloud/
|
||||
./crawl.sh
|
||||
git config user.name "Automated"
|
||||
git config user.email "actions@users.noreply.github.com"
|
||||
git add -A
|
||||
timestamp=$(date -u)
|
||||
git commit -m "gcloud: ${timestamp}" || exit 0
|
||||
git push
|
||||
git tag $(gcloud version --format=json | jq -r '."Google Cloud SDK"')
|
||||
git push --tags
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue