Skip to content

upd go map.md

upd go map.md #205

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
env:
PYTHON_VERSION: 3.x
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python runtime
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Python dependencies
run: |
pip install -r requirements.txt
- name: Build Site
id: build_site
env:
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
run: |
mkdocs build --strict
ls site/
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@ssh-deploy-key
id: push_directory
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: site/
destination-github-username: 'halyph'
destination-repository-name: 'halyph.github.io'
user-email: [email protected]
commit-message: See ORIGIN_COMMIT from $GITHUB_REF
target-branch: master
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY