Update package #8
This file contains 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: Update package | |
on: | |
workflow_dispatch: | |
jobs: | |
copy_file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source repository | |
uses: actions/checkout@v2 | |
- name: Get current git tag | |
id: tag | |
uses: JinoArch/get-latest-tag@latest | |
- name: Copy files to another repository | |
uses: nkoppel/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source-files: LICENSE README.md ansi_render.typ typst.toml | |
destination-username: 8LWXpg | |
destination-repository: packages | |
destination-branch: main | |
destination-directory: "/preview/ansi-render:${{ steps.tag.outputs.tag }}" | |
commit-email: [email protected] | |
commit-message: anis-render:${{ steps.tag.outputs.tag }} |