1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-13 00:18:35 +00:00
gcloud-help/.github/workflows/crawl.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 23: mapping key "run" already defined at line 22
2022-02-28 17:07:30 -05:00

30 lines
589 B
YAML

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