Skip to content

feat: add workflow to automate release #10

feat: add workflow to automate release

feat: add workflow to automate release #10

Workflow file for this run

name: Release
on:
push:
branches: [automate-release]
# pull_request:
# branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: creates release
run: sh ./spec/release.sh
- name: Get Date
id: date
uses: Kaven-Universe/github-action-current-date-time@v1
with:
format: "YYYYMMDD"
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: "spec/release"
destination-github-username: "wbcsd"
destination-repository-name: "tr"
user-email:
target-directory: ./temp/${{steps.date.outputs}}
target-branch: automated-release-test
create-target-branch-if-needed: true