Skip to content

Commit

Permalink
Avanzo informe
Browse files Browse the repository at this point in the history
  • Loading branch information
justog220 committed Jun 25, 2024
1 parent 7fb3fc3 commit d0e7d2b
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
name: copy files
name: Move File to Root on Push

on: [push]
jobs:

build:
name: Build
jobs:
move-file:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: copy file
uses: canastro/copy-file-action@master
with:
source: "Informe/0_main.pdf"
target: "Informe.pdf"
- name: Checkout repository
uses: actions/checkout@v2

- name: Move file to root
run: |
mv Informe/0_main.pdf .
- name: Commit and push changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add file.txt
git commit -m "Move file to root directory"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d0e7d2b

Please sign in to comment.