Completed

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
Employer working
Project Budget
$30 - $250 USD
Completed In
3 days
Total Bids
7
Project Description

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;

- .htaccess

- [url removed, login to view]

- /wp-content/themes/[theme_name]-dev

Completed by:
Skills Required

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

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online