Skip to content

Fixed pipeline

Fixed pipeline #6

Workflow file for this run

name: Copy File
on:
push:
branches:
- main
jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Copy File
run: cp src/cv.tex .
name: Upload CV File

Check failure on line 18 in .github/workflows/copy-file.yml

GitHub Actions / Copy File

Invalid workflow file

The workflow is not valid. .github/workflows/copy-file.yml (Line: 18, Col: 7): 'name' is already defined .github/workflows/copy-file.yml (Line: 20, Col: 7): Unexpected value 'on'
on:
push:
branches:
- main
jobs:
upload-cv:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Upload CV File
uses: actions/upload-artifact@v2
with:
name: cv
path: src/cv.tex