Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c9d4314

Browse files
committedMay 12, 2020
run github action on a branch
1 parent b0092bb commit c9d4314

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎.github/workflows/main.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
push:
55
branches:
6-
- master
6+
- fix-commiting-to-master
77
jobs:
88
build-and-deploy:
99
runs-on: ubuntu-latest
@@ -40,3 +40,11 @@ jobs:
4040
github-token: ${{ secrets.GITHUB_TOKEN }}
4141
deploy-message: 'Deploy from GitHub Actions'
4242
if: github.repository == 'NixOS/nixos-homepage'
43+
- name: Commit flake.lock, blogs.xml and push to master branch
44+
uses: github-actions-x/commit@v2.6
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}
47+
push-branch: 'fix-commiting-to-master'
48+
commit-message: 'Update flake.lock and blogs.xml [ci skip]'
49+
files: flake.lock blogs.xml
50+
if: github.repository == 'NixOS/nixos-homepage'

0 commit comments

Comments
 (0)