Update Mock reference url #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Convert and publish AsciiDoctor | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Convert AsciiDoc | |
id: documents | |
uses: Analog-inc/asciidoctor-action@master | |
with: | |
shellcommand: "./.github/workflows/asciidoc.sh" | |
- name: Save AsciiDoc | |
uses: actions/upload-artifact@v1 | |
with: | |
name: Docs | |
path: ./output/ | |
- name: Push to another repository | |
uses: cpina/github-action-push-to-another-repository@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source-directory: 'output' | |
destination-github-username: 'rpm-packaging-guide' | |
destination-repository-name: 'rpm-packaging-guide.github.io' | |
user-email: pkovar@redhat.com | |
target-branch: master |