Skip to content

Commit

Permalink
Update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Nov 1, 2022
1 parent 789e97e commit eb52bfc
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,25 @@ jobs:
- name: Run Rake tasks
run: |
bundler exec rake
- name: Prepare FTP directories
run: |
mkdir rva
mv rva_cars.zip rva
mv rva_tracks.zip rva
mv rva_lego_tracks.zip rva
mv packages.json rva
- name: Deploy via FTP
uses: SamKirkland/FTP-Deploy-Action@4.3.0
with:
server: ${{ secrets.FTP_SERVER }}
username: rva
password: ${{ secrets.FTP_PASSWORD }}
local-dir: "./rva/"
server-dir: "rva/"
local-dir: "./"
server-dir: "./"
exclude: |
**/.git*
**/.git*/**
rva_cars/**
rva_lego_tracks/**
rva_tracks/**
.gitignore
.gitmodules
.rubocop.yml
data.rb
Gemfile
Gemfile.lock
Rakefile
README.md

0 comments on commit eb52bfc

Please sign in to comment.