diff --git a/.drone.yml b/.drone.yml index b7b49e6..4da6487 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,10 +7,11 @@ steps: image: node:current environment: REPOSITORY: mattrbld-site + GIT_USER: inherentlee GIT_TOKEN: from_secret: GIT_TOKEN commands: - - git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f' + - git config credential.helper '!f() { echo username=$GIT_USER; echo "password=$GIT_TOKEN"; };f' - git submodule update --remote --init --merge - npm install - npm run build diff --git a/README.md b/README.md index 57ad1a8..9568487 100644 --- a/README.md +++ b/README.md @@ -1,38 +1 @@ # mattrbld test - -## local drone testing - -create secrets.txt: - -```txt -GIT_TOKEN=PAT -``` - -run `drone exec` with secrets file: - -```sh -drone exec --secret-file=secrets.txt -``` - -## submodule bullshit - -to add the submodule: - -```sh -git submodule add -``` - -to pull in remote updates: - -```sh -git submodule update --remote -``` - -to push incl. submodule updates: - -```sh -cd mattrbld-site -git commit -am "message" -cd .. -git push --recurse-submodules=on-demand -``` diff --git a/mattrbld-site b/mattrbld-site index e82f47a..591de23 160000 --- a/mattrbld-site +++ b/mattrbld-site @@ -1 +1 @@ -Subproject commit e82f47a6f7afac70738a825fbe84ee00f46b7f76 +Subproject commit 591de23a223d83b9028006da2a529a1e4482c5ee