Skip to content

Commit

Permalink
add copy file github action
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-andrassy committed Jul 11, 2023
1 parent ed75c0a commit f8da48f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/copy_file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: copy_file

on:
push:
branches:
- master

jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Pushes file
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: './documentation/data/website.yml'
destination_repo: 'GSTT-CSC/gstt-csc.github.io'
destination_folder: '_projects'
#email and username of the user associated with the token
user_email: ''
user_name: ''
commit_message: ''
11 changes: 11 additions & 0 deletions documentation/data/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
statement_of_purpose: 'Purpose'

device_name: DEVICE

logo: path/to/logo

MLFlow_artefacts:
- image: path/to/performance_image1.png
description: “text description”

Dataset_size: X

0 comments on commit f8da48f

Please sign in to comment.