diff --git a/Jenkinsfile b/Jenkinsfile index 0f076fb..d722feb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,26 +1,30 @@ pipeline { - agent any - environment { - PATH = "/var/lib/jenkins/.nvm/versions/node/v20.9.0/bin:/var/lib/jenkins/bin:${env.PATH}" - } +agent { + docker { + image 'node:22' + } + } stages { - stage('Install deps') { - steps { - sh 'pnpm i' - } - } - stage('Build') { - environment { - PATH = "${env.WORKSPACE}/node_modules/.bin:${env.PATH}" - } - steps { - sh 'pnpm build' - } - } - stage('Deploy') { - steps { - sh 'cp -r ./dist/* /var/www/araozu.dev/' - } - } - } + stage('Install pnpm') { + steps { + sh 'npm i -g pnpm' + } + } + stage('Install dependencies') { + steps { + sh 'pnpm i' + } + } + stage('Buid') { + steps { + sh 'pnpm build' + } + } + stage('Deploy') { + steps { + sh 'rm -rf /var/www/dev.araozu/*' + sh 'mv -f dist/* /var/www/dev.araozu/' + } + } + } } diff --git a/src/components/Card.astro b/src/components/Card.astro index c4e16af..0214596 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -4,7 +4,7 @@ const { title } = Astro.props;
- I'm a (human) software engineer passionate about web technologies. I - love building things and learning new stuff. + +
+ Human software engineer based in Peru
-+ Things I've thought about, about programming. +
+ +