diff --git a/.drone.jsonnet b/.drone.jsonnet index 3ff2d2d..bdf05a6 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -31,13 +31,12 @@ local PipelineDeployment(scenario='centos7') = { }, workspace: { base: '/drone/src', - path: 'xoxys.logrotate', + path: '${DRONE_REPO_NAME}', }, steps: [ { name: 'ansible-molecule', image: 'xoxys/molecule:3', - pull: 'always', environment: { DO_API_KEY: { from_secret: 'do_api_key' }, MOLECULE_CUSTOM_MODULES_REPO: 'https://gitea.rknet.org/ansible/custom_modules', @@ -80,7 +79,7 @@ local PipelineDocumentation = { name: 'publish', image: 'plugins/gh-pages', settings: { - remote_url: 'https://gitea.rknet.org/ansible/xoxys.logrotate', + remote_url: 'https://gitea.rknet.org/ansible/${DRONE_REPO_NAME}', netrc_machine: 'gitea.rknet.org', username: { from_secret: 'gitea_username' }, password: { from_secret: 'gitea_token' }, diff --git a/.drone.yml b/.drone.yml index 21c385c..4e05486 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ concurrency: workspace: base: /drone/src - path: xoxys.logrotate + path: ${DRONE_REPO_NAME} steps: - name: ansible-molecule @@ -65,7 +65,7 @@ concurrency: workspace: base: /drone/src - path: xoxys.logrotate + path: ${DRONE_REPO_NAME} steps: - name: ansible-molecule @@ -112,7 +112,7 @@ steps: pages_directory: _docs/ password: from_secret: gitea_token - remote_url: https://gitea.rknet.org/ansible/xoxys.logrotate + remote_url: https://gitea.rknet.org/ansible/${DRONE_REPO_NAME} target_branch: docs username: from_secret: gitea_username @@ -181,6 +181,6 @@ depends_on: --- kind: signature -hmac: fd83b9ac8df64e7b68ce88d49f10e60cbd8c59737ee3b9af66b77b2795885079 +hmac: fdf016d66da532353bb204c89250b5d784078f88c73b9ebba5e860f9420d95fc ...