Skip to content
Permalink
Browse files

run github action on a branch

  • Loading branch information
garbas committed May 12, 2020
1 parent b0092bb commit c9d4314a90c5b0465a65a66e0c96f406e1578b17
Showing with 9 additions and 1 deletion.
  1. +9 −1 .github/workflows/main.yml
@@ -3,7 +3,7 @@ on:
pull_request:
push:
branches:
- master
- fix-commiting-to-master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
@@ -40,3 +40,11 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: 'Deploy from GitHub Actions'
if: github.repository == 'NixOS/nixos-homepage'
- name: Commit flake.lock, blogs.xml and push to master branch
uses: github-actions-x/commit@v2.6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'fix-commiting-to-master'
commit-message: 'Update flake.lock and blogs.xml [ci skip]'
files: flake.lock blogs.xml
if: github.repository == 'NixOS/nixos-homepage'

1 comment on commit c9d4314

@github-actions

This comment has been minimized.

Please sign in to comment.
You can’t perform that action at this time.