Skip to content
Snippets Groups Projects
Commit f83380fc authored by jkito's avatar jkito :skull:
Browse files

ci: use env variable for the job build dir

this uses $CI_PROJECT_DIR instead of a hardcoded
path for the project's build dir in the arch pkg
job, the hardcoded path doesn't exist if job run
is from a forked repo
parent 9165d98e
Branches
Tags
1 merge request!218Update to latest `obfsvpn`
Pipeline #229724 passed
......@@ -54,8 +54,8 @@ arch:
# makepkg does not run as root, but it needs sudo to install dependencies
- "cd /home/non_root && sudo -u non_root make package_arch"
- "cd /home/non_root && pacman -U ArchLinux/*tar.zst --noconfirm"
# artifacts must be relative to the working directory (/builds/leap/bitmask-vpn)
- "cp /home/non_root/ArchLinux/*.tar.zst /builds/leap/bitmask-vpn"
# artifacts must be relative to the working directory (e.g. /builds/leap/bitmask-vpn)
- "cp /home/non_root/ArchLinux/*.tar.zst $CI_PROJECT_DIR"
artifacts:
paths:
- '*.tar.zst'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment