Skip to content

Instantly share code, notes, and snippets.

@arn-ob
Created December 20, 2022 06:12
Show Gist options
  • Select an option

  • Save arn-ob/7c791c5e4befcfeaf6389a96c938ae2f to your computer and use it in GitHub Desktop.

Select an option

Save arn-ob/7c791c5e4befcfeaf6389a96c938ae2f to your computer and use it in GitHub Desktop.
Project yaml
name: Project Production
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: 'arn-ob/github-actions'
token: ${{ secrets.PAT }}
- run: |
echo "SomeThing" > generated.txt
git config --global user.name "arnob-bot"
git config --global user.email "arnob@gmail.com"
git add .
git commit -m "generated"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment