Create a gitlab-ci.yml file with build and sFTP deploy stage
This project was successfully completed by luishgo for $100 USD in 3 days.Get free quotes for a project like this
Project Budget$30 - $250 USD
Completed In3 days
We need a gitlab-ci-yml file that can will build our foundationpress based theme and afterwards autodeploy this. All of the variables in the file should be places in $VARIABLES that we can enter in Gitlab.
Step 1: Build
Our 'manual' workflow;
1. First time we run a command to run node and bower dependencies;
- npm install
This is run in the following directory; /wp-content/themes/[theme_name]-dev
2. Afterwards to create a new production package of the theme we run;
- gulp package -- production
This theme is then outputted to /wp-content/themes/[theme_name]-dev/production/[theme_name].zip
This then has to be extracted and moved to /wp-content/themes/
Step 2: Deploy
Pushing the (changes) to an sFTP server.
The following files should be ignored;
- [url removed, login to view]
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online