Delete .github/workflows/open_pull_request.yml
Signed-off-by: John Gotti Sr. <109058188+Agentofchaoss@users.noreply.github.com>
This commit is contained in:
parent
a29bd0b9bf
commit
b48fb3cb6c
|
@ -1,47 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- src-pages
|
||||
|
||||
jobs:
|
||||
open_pull_request:
|
||||
needs: [jekyll_build]
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout branch for GitHub Pages
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
ref: gh-pages
|
||||
fetch-depth: 1
|
||||
submodules: true
|
||||
|
||||
- name: Download Compiled Pages
|
||||
uses: actions/download-artifact@v1.0.0
|
||||
with:
|
||||
name: Complied-Jekyll-Pages
|
||||
path: ./
|
||||
|
||||
- name: Add and Commit changes to pr-pages branch
|
||||
run: |
|
||||
git config --local user.email 'action@github.com'
|
||||
git config --local user.name 'GitHub Action'
|
||||
git add -A .
|
||||
git commit -m 'Updates compiled site files'
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: pr-pages
|
||||
|
||||
- name: Initialize Pull Request
|
||||
uses: gha-utilities/init-pull-request@v0.0.3
|
||||
with:
|
||||
pull_request_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
head: pr-pages
|
||||
base: gh-pages
|
||||
title: 'Updates site files from latest Actions build'
|
||||
body: >
|
||||
Perhaps a multi-line description
|
||||
about latest features and such.
|
Loading…
Reference in New Issue