Skip to content

push-to-staging

push-to-staging #13

Workflow file for this run

name: push-to-staging
on:
workflow_dispatch:
inputs:
branch:
description: "nano-docs branch to push to staging"
default: "staging"
required: true
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: push
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.1.0
with:
fetch-depth: 0
ref: ${{ github.event.inputs.branch }}
token: ${{ secrets.GH_TOKEN }}
- run: |
git remote add nano-docs-staging https://github.com/nanocurrency/nano-docs-staging.git
git push nano-docs-staging ${{ github.event.inputs.branch }}:staging