mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
initial commit
This commit is contained in:
commit
632280c428
5 changed files with 122 additions and 0 deletions
30
.github/workflows/crawl.yaml
vendored
Normal file
30
.github/workflows/crawl.yaml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: crawl
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: ['main']
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
crawl:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17.x
|
||||
- uses: google-github-actions/setup-gcloud@v0
|
||||
with:
|
||||
install_components: alpha,beta
|
||||
|
||||
run: crawl.sh
|
||||
run: |
|
||||
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue