Completato

Create a gitlab-ci.yml file with build and sFTP deploy stage

Questo progetto è stato completato con successo da luishgo per $100 USD in 3 giorni.

Ottieni preventivi gratuiti per un progetto come questo
Datore di Lavoro impegnato
Budget del Progetto
$30 - $250 USD
Completato In
3 giorni
Offerte Totali
7
Descrizione del Progetto

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

Completato da:
Competenze Richieste

Stai cercando di guadagnare dei soldi?

  • Stabilisci il tuo budget ed il tempo limite
  • Metti in rilievo la tua proposta
  • Fatti pagare per il tuo lavoro

Assumi Freelancer che hanno fatto un'offerta per questo progetto

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