Skip to content

fix: change the branch name we want to push #3

fix: change the branch name we want to push

fix: change the branch name we want to push #3

Workflow file for this run

name: Update Test File
on:
push:
branches:
- dev
jobs:
update-file:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Check git status
run: git status
- name: Write to test.txt
run: echo "This is a dynamically written text file." > test.txt
- name: Configure Git
run: |
git config --global user.name 'HIE UX Service'
git config --global user.email '[email protected]'
- name: Add changes
run: git add test.txt
- name: Commit changes
run: git commit -m "Add test.txt with dynamic content"
- name: Push changes
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: git push origin dev