R
Railway

✋|help

Strange deploy via GH Action

A.artek9/6/2023
Project ID: 39c29a28-1554-436c-81ec-937a6e54b580

Hello everyone, i am having a small issue while deploying to railway.
Inbside my workflow script i do a checkout of a submodule and from that submodule i take a folder and copy to a newly created folder. But it doesn't work.

the script can be found at this address: https://github.com/volotea-virtual/flex/blob/57b92b4a2363e40d854921be54c2c4e9f70a5754/.github/workflows/railway.yml

it gives me two errors:

the first one, when i try to create a new directory:
mkdir -p -v ./public/database/runways shell: /usr/bin/bash -e {0}

and the second one, when i try to copy the folder from the submodule to the newly created folder.

cp -R ./runways/icao/ ./public/database/runways/ shell: /usr/bin/bash -e {0}

The second one fails because the first one fails to create the directory.
BBrody9/6/2023
well you already have the -p flag, so I'm out of ideas, what error do you get since you are also running the command in verbose mode

Looking for more? Join the community!