-
-
Save plocket/6cd0ecb16680193fcd5c7fcc963477b0 to your computer and use it in GitHub Desktop.
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
# This is a basic workflow to help you get started with Actions | |
name: A name | |
# Workflow triggered manually | |
on: [workflow_dispatch] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Push a file to another repository | |
# You may pin to the exact commit or the version. | |
# uses: dmnemec/copy_file_to_another_repo_action@8585c0da66fbd3674edba2ee64d265aa25953f8c | |
uses: dmnemec/copy_file_to_another_repo_action@v1.0.4 | |
with: | |
# Source file from the origin directory | |
source_file: 'practice_at_root.yml' | |
# Destination repository | |
destination_repo: 'plocket/tests-github-action-push' | |
# Directory to push the file to | |
destination_folder: 'practice-dir' | |
# Email for the git commit | |
user_email: '52798256+plocket@users.noreply.github.com' | |
# GitHub username for the commit | |
user_name: 'plocket' | |
# branch to push file to, defaults to master | |
destination_branch: 'main' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment