Skip to content

Update to Ruby 3.2.2 #53

Update to Ruby 3.2.2

Update to Ruby 3.2.2 #53

Workflow file for this run

name: deploy
on:
push:
branches:
- production
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
- name: Bundle gems
run: |
gem install bundler
bundler install --jobs 4 --retry 3
- 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
- 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: "./"
server-dir: "./"
exclude: |
**/.git*
**/.git*/**
**/.bundle*
**/.bundle*/**
docs/**
rva_cars/**
rva_lego_tracks/**
rva_tracks/**
.gitignore
.gitmodules
.rubocop.yml
data.rb
Gemfile
Gemfile.lock
Rakefile
README.md